#include <iostream>
#include <arpa/inet.h>
#include <vector>
struct student
{
    /*结构体能够定义函数*/
    void setA(int num)
    {
        a = num;
    }
    int a;
    int b;
};
using stu = student;
int main()
{
    student stu1;
    std::vector<int>array;
    stu1.a = 10;
    stu1.b = 20;
    stu1.setA(99);

    std::cout << stu1.a << std::endl;
    return 0;
}